package com.itheima.exerciseTest.test40_49;

public class Test48 {
    public static void main(String[] args) {
        System.out.println(show(1));
    }

    public static int show(int num) {
        int a = 10;
        int b = 20;
        int c = 30;
        if (num == 1)
            return num;
        try {
            return ++a;
        } catch (Exception e) {
            return ++b;
        } finally {
            System.out.println("a = " + a);
            System.out.println("b = " + b);
            System.out.println("c = " + c);
            return ++c;
        }

    }
}
